import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import '@/assets/css/global.css'
import '@/assets/font/iconfont.css'
import SocketService from '@/utils/socket_serve.js'
import store from '@/store/index.js'
SocketService.Instance.connect()
axios.defaults.baseURL = 'http://127.0.0.1:8888/api/'
Vue.prototype.$echarts = window.echarts
Vue.prototype.$http = axios
Vue.prototype.$socket = SocketService.Instance
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
